/**
 * Created by houlei on 2023/2/14.
 * */
#ifndef TRACK_TEST_PROJECT
#define TRACK_TEST_PROJECT

#include "TaskModule.h"
#include "../GlobalParameters.h"
#include "Rasp_Track.h"

extern "C" BaseObject *createTrack();
extern "C" void destroyTrack(BaseObject *p);

class Track : public TaskModule {
public:
    Track();



    int IsSendData = 1;
    float IntervalTime = 0.0368;
    float RadarTime = 0;
    int UpdateCnt = 3;
    float Rgate = 74.9;
    float VelThreshold = 3000;
    float RangeThreshold = 25000;
    float EleThreshold = 1.5;
    float AziThreshold = 1.5;
    float RadarPerCircleTime = 0.005;
    float Ele = 0;
    float Azi = 0;

    ~Track();

    void onCompute(buffer_table_t *input, buffer_table_t *output) override;

private:
    Rasp_Track rasp_track;
    unsigned int m_countnum = 0;
};

#endif //TRACK_TEST_PROJECT
